package www.bw.com.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu {
  private Integer id;
  private String name;
  private String icon;
  private List<Menu> children;
  public Menu(Integer id, String name, String icon) {
    this.id = id;
    this.name = name;
    this.icon = icon;
  }
}
